Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): replace ora and chalk with leaner alternatives #1148

Closed

Conversation

Namchee
Copy link

@Namchee Namchee commented Aug 12, 2024

Overview

This PR replaces ora and chalk in favor of nanospinner and picocolors without changing the current behavior of the CLI while reducing its size.

Current dependency graph

Package Report

Screenshot 2024-08-12 213710
Screenshot 2024-08-12 213823

@codecov-commenter
Copy link

codecov-commenter commented Aug 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.93%. Comparing base (f5872bb) to head (b6a65be).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1148   +/-   ##
=======================================
  Coverage   76.93%   76.93%           
=======================================
  Files          21       21           
  Lines         763      763           
  Branches      142      142           
=======================================
  Hits          587      587           
  Misses        122      122           
  Partials       54       54           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@erickzhao erickzhao self-assigned this Aug 12, 2024
Copy link
Member

@erickzhao erickzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Namchee, thank you for taking the time to raise this PR! After some discussion with other maintainers, we've decided to decline this PR.

Our rationale is that bundle size alone is not a strong enough reason for replacing well-known packages that have a history of stability and consistent maintenance.

cc @electron/wg-ecosystem

@erickzhao erickzhao closed this Aug 12, 2024
@erickzhao erickzhao removed their assignment Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants